#ifndef BID_H
#define BID_H
#include <string>
#include <QWidget>
#include<QtCore>

namespace Ui {
class bid;
}

class bid : public QWidget
{
    Q_OBJECT

public:
    explicit bid(QWidget *parent = 0);
    ~bid();
    std::string whole;

private:
    Ui::bid *ui;
    std::string suit;
    std::string num;
    std::string act;

signals:
    /*!
     * \brief bidmade emits a signal with a qstring list value this is linked to the slot changebid
     */
    void bidmade(QStringList);

private slots:
    /*!
     * \brief on_pushButton_clicked append the information from each combo box to one string then emits that string
     */
    void on_pushButton_clicked();
    /*!
     * \brief on_comboBox_currentIndexChanged assigns a string value to variable suit
     * \param index
     */
    void on_comboBox_currentIndexChanged(int index);
    /*!
     * \brief on_comboBox_2_currentIndexChanged assigns a string value tor the variable num
     * \param index
     */
    void on_comboBox_2_currentIndexChanged(int index);
    void on_comboBox_3_currentIndexChanged(const QString &arg1);
    /*!
     * \brief on_comboBox_3_currentIndexChanged assigna string value to variable act
     * \param index
     */
    void on_comboBox_3_currentIndexChanged(int index);
};

#endif // BID_H
